package com.ruoyi.system.mapper;

import com.ruoyi.system.api.domain.File;
import com.ruoyi.system.domain.SysAppVersion;

import java.util.List;

public interface SysAppVersionMapper {

    List<SysAppVersion> selectSysAppVersionList(SysAppVersion sysAppVersion);

    int insertSysAppVersion(SysAppVersion appVersion);

    SysAppVersion selectSysAppVersionById(Long versionId);

    int updateSysAppVersion(SysAppVersion sysAppVersion);

    int deleteSysAppVersionByVersionIds(Long[] versionIds);

    int deleteSysAppVersionByIds(Long[] ids);

    SysAppVersion selectLatestVersion(SysAppVersion appVersion);

    int updateOnlineStatus(SysAppVersion appVersion);

    File selectqr();
}
